package com.css.fxfzdpzs.modules.xczh.repository;

import com.css.fxfzdpzs.modules.xczh.entity.second.*;
import com.css.fxfzdpzs.modules.xczh.externalEntity.EarEveManageInfoVo;
import com.css.fxfzdpzs.modules.xczh.vo.*;
import com.css.fxfzdpzs.modules.xczh.entity.first.*;

import java.math.BigDecimal;
import java.util.List;

public interface XczhRepository {
    GradeDisasterNum getDisasterNum();

    List<DisasterNumVo> getDamageNum();

    List<DisasterDamageData> getLossProportion();

    List<DisasterAssessData> getUnitCount();

    List<DisasterValueVo> getDisasterValue();

    List<DisasterVisitsCount> getVisitNum(String system);

    List<DisasterDamage> getSituation();

    DisasterVisitsCount getVisitNumByPro(String province);

    List<XcDisasterImage> getDisasterImage(String iaId,String intensity);

    XcDataNum getXcProportion(String iaId);

    XcMapEntity getXcMapEntity();

    List<XcMapEntityVO> getCountySituation();

    List<XcCountySituation> getCountyDisasterByCountyCode(String countyCode);

    List<XcResultDate> getResultDates();

    XcSecondMapEntity getSecondMapDate();

    List<DisasterDamageVo> getAllDisasterDamageData();

    String getGeomByLonAndLat(BigDecimal longitude, BigDecimal latitude);

    DisasterDamageVo getMaxLossAndMinLoss();

    Integer getCount();

    XcCountySituation getDisasterInfoByCondition(BigDecimal longitude, BigDecimal latitude);

    void delXcDataNum();

    void saveXcDataNum(List<XcDataNum> xcDataNums);

    void delResultDate();

    void saveXcResultDate(List<XcResultDate> intensityMaps);

    List<XcResultDate> getResultDatesByXsemId(String xsemId);

    void delDisasterImage();


    void saveDisasterImage(List<XcDisasterImage> xcDisasterImages);
}
